'use strict';

function collect_max_number(collection) {
  let i=collection.reduce(
    function(a,b){
      if(a>b){
        return a;
      }
      else {
        return b;
      }
    }
  );
  return i;
  //在这里写入代码
}

module.exports = collect_max_number;
